import request from '@/utils/request'

export function fetchProcessingCompanyList(params) {
  return request({
    url: '/api/processingCompany/getList',
    method: 'post',
    params
  })
}

export function createProcessingCompany(params) {
  return request({
    url: '/api/processingCompany/add',
    method: 'post',
    params
  })
}

export function updateProcessingCompany(data) {
  return request({
    url: '/api/processingCompany/update',
    method: 'post',
    data
  })
}

export function deleteProcessingCompany(params) {
  return request({
    url: '/api/processingCompany/delete',
    method: 'post',
    params
  })
}